/**
* This file is part of OntoApplications (project linked with OntoCompoFramework)
*
* Copyright (C) 2011 -  Christian Brel
*
* @author   Pierre Nshimiyimana
**/

package applications.studentApplicationForm.fc.lib;

import applications.studentApplicationForm.fc.api.Semester;
import applications.studentApplicationForm.fc.api.Subject;

public class SemesterImpl implements Semester{

	
	private String name;
	private String semesterAverage;
	private String validationSemester;
	private Subject[] subject;
	
	
	
	public SemesterImpl() {
		System.out.println("SemesterImpl created!!");
	}
	


	public SemesterImpl(String name, String semesterAverage,
			String validationSemester, Subject[] subject) {
		this.name = name;
		this.semesterAverage = semesterAverage;
		this.validationSemester = validationSemester;
		this.subject = subject;
	}




	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return this.name;
	}

	@Override
	public String getSemesterAverage() {
		// TODO Auto-generated method stub
		return this.semesterAverage;
	}

	

	@Override
	public String getValidationSemester() {
		// TODO Auto-generated method stub
		return this.validationSemester;
	}



	@Override
	public Subject[] getSubject() {
		// TODO Auto-generated method stub
		return this.subject;
	}
	

}
